<%@ page import="site.BannerHome" %>
<div class="fieldcontain ${hasErrors(bean: bannerHomeInstance, field: 'imagem', 'error')} required">
  <label for="imagem">
    <g:message code="bannerHome.imagem.label" default="Imagem" />
    <span class="required-indicator">*</span>
  </label>
  <input type="file" id="imagem" name="imagem" />
</div>

<div class="fieldcontain ${hasErrors(bean: bannerHomeInstance, field: 'link', 'error')} ">
  <label for="link">
    <g:message code="bannerHome.link.label" default="Link" />

  </label>
  <g:field type="url" name="link" value="${bannerHomeInstance?.link}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: bannerHomeInstance, field: 'titulo', 'error')} ">
  <label for="titulo">
    <g:message code="bannerHome.titulo.label" default="Titulo" />

  </label>
  <g:textField name="titulo" maxlength="100" value="${bannerHomeInstance?.titulo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: bannerHomeInstance, field: 'descricao', 'error')} ">
  <label for="descricao">
    <g:message code="bannerHome.descricao.label" default="Descricao" />

  </label>
  <g:textArea name="descricao" cols="40" rows="5" maxlength="500" value="${bannerHomeInstance?.descricao}"/>
</div>

